Don't use XATTR_REPLACE with lsetxattr()
authorStef Walter <stefw@redhat.com>
Tue, 13 Aug 2013 13:41:12 +0000 (15:41 +0200)
committerStef Walter <stefw@redhat.com>
Tue, 13 Aug 2013 13:42:54 +0000 (15:42 +0200)
commit3f9c150b77c16f709166d0d32c8c08b19be12870
treedc182d823d86898537ee30b59d25a9be3cf850d0
parentc246c4194f4841d4afa41308e3904e00cefed2e0
Don't use XATTR_REPLACE with lsetxattr()

If we pass XATTR_REPLACE then the attribute must already exist, which
is not our intent. Passing zero creates the attribute if necessary,
or replaces it when it already exists.

https://bugzilla.gnome.org/show_bug.cgi?id=705893
src/libostree/ostree-core.c